package com.xk857;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author CV大魔王
 * @Description 系统权限微服务启动类
 * @date 2021/2/25 18:02
 */
@EnableDiscoveryClient // 标识为Nacos客户端
@EnableSwagger2 //启动Swagger
@SpringBootApplication
@EnableFeignClients
@EnableCaching // 开启缓存，使用redis
public class SystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class, args);
    }

}
